package Views;

import UCM.UCDisplayDeleteManager;
import java.awt.FlowLayout;
import javax.swing.JButton;
import javax.swing.JPanel;

/**
 *
 * @author Joshua King
 */
public class ViewDisplayDeleteManager extends JPanel {
    protected JButton deleteManagerButton = new JButton("Delete Manager");
    private final UCDisplayDeleteManager UCDisplayDeleteManager = new UCDisplayDeleteManager(this);

    public ViewDisplayDeleteManager() {
        setLayout(new FlowLayout());
        add(deleteManagerButton);
        deleteManagerButton.addActionListener(new AdapterUCCToAL(UCDisplayDeleteManager));
    }

    public void setDeleteManagerVisible() {
        ViewMain.getInstance().updateDeleteManager();
    }
}
